import React from 'react';
import { Link } from 'react-router';
import { observer } from 'mobx-react';
import Im from 'immutable';

import Store from './store.js';
import './index.less';

//component

@observer
export default class view extends React.Component {
    static propTypes = {
        //name: React.PropTypes.string,
    };

    static defaultProps = {};

    name = 'AppsManage';
    store = null;

    constructor(props, context) {

        super(props, context);

        this.name = props.name ? props.name : this.name;
        this.store = new Store({ name: this.name });


    }

    componentWillMount() {
        this.store.will();
    }

    componentDidMount() {
        this.store.mount();
    }

    componentWillUnmount() {
        this.store.remove();
    }
    componentWillReact() {
        // console.log(arguments);
    }

    render() {

        return (
            <div className="orin-s-appsmanage-root" >
            </div>
        );
    }
}